/*
-----------------------------------------------------------------------------
Filename:    SceneExporter.h
-----------------------------------------------------------------------------

*/
#ifndef __SceneExporter_h_
#define __SceneExporter_h_

#include "BaseEngine.h";
#include "Map.h";
#include "logwriter.h";
#include "PhysXWorld.h";
#include "WeatherSystem.h";
#include "AppSettings.h";
#include <vector>;


class SceneExporter
{
public:

    SceneExporter(void);
    ~SceneExporter(void);

	void init(Ogre::String saveDBPath);
	void updateSaveDB(Ogre::String fileName, Ogre::String name, Ogre::String description);
	void exportSceneToXml(Ogre::String name, Ogre::String description, PredefinedCameraDescriptions *mPredefinedCameraDescriptions, Map *mMap, WeatherSystem *mWeatherSystem, PhysXWorld *mPhysXWorld);

private:
	void exportActorToXml(TiXmlElement *parentNode, ActorEntitySceneNode *actor);
private:
		int nCurrentSeq;
		TiXmlDocument saveDB;
		TiXmlDocument saveFile;
};

#endif // #ifndef __SceneExporter_h_
